package com.quwan.app.vo.dispatch;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.quwan.app.vo.SelectorWeekVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.List;

/**
 * @author quan
 * @date 2022-05-25 23:42
 */
@Data
@Accessors(chain = true)
public class ConsumeOrderDetailInfoDTO  implements Serializable {

    private static final long serialVersionUID = 5566627771294251884L;
    @ApiModelProperty("派单id")
    private String dispatchOrderId;

    @ApiModelProperty("订单状态 0待处理 1已接单(进行中) 2订单完成")
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("开始日期")
    private LocalDate beginDate;

    @JsonFormat(pattern = "HH:mm")
    @ApiModelProperty("开始时间")
    private LocalTime beginTime;

    @ApiModelProperty("订单编号")
    private String orderId;

    @ApiModelProperty("价格")
    private String price;
    @ApiModelProperty("内容")
    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("订单时间")
    private LocalDateTime orderTime;

    @ApiModelProperty("订单时长")
    private String duration;

    @ApiModelProperty("用户id")
    private String mId;

    @ApiModelProperty("用户头像")
    private String memberImg;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("地区信息")
    private String area;

    @ApiModelProperty("能否完成订单 ")
    private boolean finished;

    @ApiModelProperty("能否取消订单")
    private boolean cancel;


}
